from django.conf.urls import url
from . import views

urlpatterns = [
    url(r'^areas$', views.AreasView.as_view()),
    url(r'^user/houses$', views.UserHousesView.as_view()),
    url(r'^houses$', views.NewHousesView.as_view()),
    url(r'^houses/(?P<house_id>\d+)/images$', views.NewHousesImagesView.as_view()),
    url(r'^houses/index$', views.HousesIndexView.as_view()),
    url(r'^houses/(?P<house_id>\d+)$', views.HousesDetailView.as_view()),
]